package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @version 1.0
 * @Author yanjingren
 * @Date 2021/7/6
 * @Description com.atguigu.gulimall.order.feign
 */
@FeignClient(name = "gulimall-cart")
public interface CartFeignService {

    @GetMapping("/currentCartItems")
    List<OrderItemVo> currentCartItems();
}
